/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "来料检验",TableName = "Incominginspection")]
    public partial class Incominginspection:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///来料检验单编号
       /// </summary>
       [Display(Name ="来料检验单编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string IncomingNumber { get; set; }

       /// <summary>
       ///来料检验单名称
       /// </summary>
       [Display(Name ="来料检验单名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string IncomingName { get; set; }

       /// <summary>
       ///供应商批次号
       /// </summary>
       [Display(Name ="供应商批次号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string SupplierBatch { get; set; }

       /// <summary>
       ///供应商简称
       /// </summary>
       [Display(Name ="供应商简称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string SupplierName { get; set; }

       /// <summary>
       ///产品物料编码
       /// </summary>
       [Display(Name ="产品物料编码")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string ProductCode { get; set; }

       /// <summary>
       ///产品物料名称
       /// </summary>
       [Display(Name ="产品物料名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string ProductName { get; set; }

       /// <summary>
       ///接收数量
       /// </summary>
       [Display(Name ="接收数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ReceivedCount { get; set; }

       /// <summary>
       ///检测数量
       /// </summary>
       [Display(Name ="检测数量")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? InspectedCount { get; set; }

       /// <summary>
       ///不合格数
       /// </summary>
       [Display(Name ="不合格数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? NonCoubt { get; set; }

       /// <summary>
       ///检测结论
       /// </summary>
       [Display(Name ="检测结论")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string InspectionConclusion { get; set; }

       /// <summary>
       ///来料日期
       /// </summary>
       [Display(Name ="来料日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? IncomingTime { get; set; }

       /// <summary>
       ///检测日期
       /// </summary>
       [Display(Name ="检测日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? InspectionTime { get; set; }

       /// <summary>
       ///检测人员
       /// </summary>
       [Display(Name ="检测人员")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Inspectors { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? States { get; set; }

       /// <summary>
       ///单位
       /// </summary>
       [Display(Name ="单位")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Unit { get; set; }

       /// <summary>
       ///供应商编码
       /// </summary>
       [Display(Name ="供应商编码")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string SupplierCode { get; set; }

       /// <summary>
       ///合格数
       /// </summary>
       [Display(Name ="合格数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Numberofpasses { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(300)]
       [Column(TypeName="nvarchar(300)")]
       [Editable(true)]
       public string Remark { get; set; }

       
    }
}